package com.hejx.chat.common.core.annotion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by 追风少年
 * @desc 请求命令
 * @email doubihah@foxmail.com
 * @create 2018/2/1 16:01
 **/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface SocketCommand {

    /**
     * 请求的命令号
     * @return
     */
    short cmd();

}
